/...
import extendsMethods from './extends.methods'
+import AES from '@/utils/aes'
+import cache from '@/plugins/cache'
...
axiosInstance.interceptors.request.use(config => {
+  // 初始化加密标识值
+  config.encrypt = config.encrypt == null ? process.env.VUE_APP_ENCRYPT_REQUEST === 'on' : config.encrypt
+  if (config.headers['Content-Type'] != null && config.headers['Content-Type'].startsWith('multipart/form-data')) {
+    config.encrypt = false
+  }
...
config.headers['eva-platform'] = `pc-${pkg.version}`
+  const cachePwd = cache.twoFA.__get('eva-2fa-password')
+  // 设置2fa密码
+  if (cachePwd != null) {
+    config.headers['eva-2fa-password'] = cachePwd.value
+    // 未记住密码时直接删除密码
+    if (cachePwd.expiredTime == null) {
+      // 延迟删除，防止promise.all同时发起多个2FA接口时无法读取到密码
+      setTimeout(() => {
+        cache.twoFA.removePassword()
+      }, 200)
+    }
+  }
+  // 参数加密
+  if (config.encrypt) {
+    let requestData = null
+    if (config.data != null) {
+      requestData = config.data
+    }
+    if (config.params != null) {
+      requestData = config.params
+    }
+    if (process.env.VUE_APP_DEBUG === 'on') {
+      console.log(`DEBUG: ${config.method} ${config.url}`, '请求参数', requestData)
+    }
+    // POST请求
+    if (config.data != null) {
+      config.data = {
+        _p: AES.encrypt(JSON.stringify(config.data))
+      }
+    }
+    // GET请求
+    if (config.params != null) {
+      config.params = {
+        _p: AES.encrypt(JSON.stringify(config.params))
+      }
+    }
+  }
...
  // 下载接口处理
  if (response.headers['eva-opera-type'] === 'download') {
    return Promise.resolve(response)
  }
+  // 解密响应结果
+  if (typeof response.data === 'string') {
+    response.data = JSON.parse(AES.decrypt(response.data))
+    if (process.env.VUE_APP_DEBUG === 'on') {
+      console.log(`DEBUG: ${response.config.method} ${response.config.url}`, '请求结果', JSON.parse(JSON.stringify(response)))
+    }
+  }
.../